<!DOCTYPE html>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="spring" uri="../WEB-INF/static_res/tld/spring.tld"%>  
<html lang="en" class="login_page">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>成都法和药业官方主页</title>
        <!-- Bootstrap framework -->
        
            <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css" />
            <link rel="stylesheet" href="bootstrap/css/bootstrap-responsive.min.css" />
            
            <link rel="stylesheet" href="css/blue.css" />
            
            <link rel="stylesheet" href="lib/qtip2/jquery.qtip.min.css" />
            	
            <link rel="stylesheet" href="css/style.css" />
            	  
            <link rel="shortcut icon" href="favicon.ico" />
     <!-- theme color-->
            
        <!-- tooltip -->    
		
        <!-- main styles -->
          
    
        <!-- Favicon -->
         <!--
    
        <link href='http://fonts.googleapis.com/css?family=PT+Sans' rel='stylesheet' type='text/css'>
    	   --><!-- 通用css -->
         	 <link rel="stylesheet" href="css_fahe/header.css" />
         	 <link rel="stylesheet" href="css_fahe/body.css" />
         	 <link rel="stylesheet" href="css_fahe/footer.css" />
        <!--[if lte IE 8]>
            <script src="js/ie/html5.js"></script>
			<script src="js/ie/respond.min.js"></script>
        <![endif]-->
		
    </head>
    <body>


	<div id="maincont" class="clearfix " style="margin-top: 0px;" >
			<!-- header -->
				<%@ include file="../WEB-INF/dynamic/jsp/inc/header.jsp"%>
				
				
				<div class="contenter">
				这里是body体！！！
				
				
				<%=(String)session.getAttribute("username")%>
				
				
				
				</div>
				<%@ include file="../WEB-INF/dynamic/jsp/inc/footer.jsp"%>
		</div>
		
		
		
		
		
		
		
		
		
		
		
		
		
		
        <script src="js/jquery.min.js"></script>
        <script src="js/jquery.actual.min.js"></script>
        <script src="lib/validation/jquery.validate.min.js"></script>
		<script src="bootstrap/js/bootstrap.min.js"></script>
		<script src="js_fahe/header.js"></script>
		<script type="text/javascript">
			$(document).ready(function(){
				show();
			});
			function show(){
			   //document.getElementById("xianshi").value=<%=(String)session.getAttribute("myName")%>
			   var s="<%=session.getAttribute("username")%>"; 
			   if (s =="null") {
				   $("#loginflag").append("<a href='login'>登录</a>|<a href='regist'>注册</a>|");
				} else {
				   $("#loginflag").append(s+"<a href='logout'>退出</a>");
				}
			}
	</script>   
    </body>
</html>
